﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace pgnSoft.MaisCadastros.Controllers
{
    public class MainController : Controller
    {
   
        [ActionName("Cadastrar")]
        public ActionResult CadastrarPost(Models.Main.CadastrarModel cadastro)
        {
            if (cadastro.Valid())
            {
                Response.Write("OK");
                return null;
            }
            return View();
        }


        public ActionResult Sobre()
        {
            return View();
        }

        
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Contato()
        {
            return View();
        }


    }
}
